package design.proxy.one;

import design.proxy.Student;

/**
 * 静态代理
 *
 * @Author: zhenzhong.wang
 * @Time: 2018/4/10 10:42
 */
public class StudentProxy implements Student {

  private Student student;

  public StudentProxy(Student student) {
    this.student = student;
  }

  @Override
  public void study() {
    // TODO something
    student.study();
    // TODO
  }

  @Override
  public void play() {
    // TODO
    student.play();
    // TODO
  }
}
